package com.fzf.blog;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.fzf.blog.modules.*.mapper")
@ServletComponentScan(basePackages = "com.fzf.blog.core.listener")
public class BlogApplication implements CommandLineRunner {
	private Logger logger= LoggerFactory.getLogger(BlogApplication.class);

	
    public static void main(String[] args) {
        SpringApplication.run(BlogApplication.class, args);
    }

	@Override
	public void run(String... args) throws Exception {
		logger.info("服务启动完成！");
	}

}
